﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class FixAssgnConfiguration : EntityTypeConfiguration<FixAssgn>
    {
        public FixAssgnConfiguration()
        {
            Property(g => g.FixAssgnID).IsRequired();  
            Property(g => g.AdditionalContent).IsOptional(); 
            Property(g => g.Created).IsOptional(); 
            Property(g => g.Modified).IsOptional();
            Property(g => g.DesiredAmount).IsOptional(); 
            Property(g => g.ItemDataID).IsOptional(); 
            Property(g => g.AssignedLocationID).IsRequired(); 
        }
    }
}
